squares = []
for value in range(1,11):
    square = value**2
    squares.append(square)
print(squares)
squares.reverse()
print(squares)

#列表解析
squares = [value **2 for value in range(1,11)]
print(squares)